package cn.ainit.exchange.entity;
// default package

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;


/**
 * MappingTable entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name="SYS_MAPPING_TABLE")
public class MappingTable  implements java.io.Serializable {

    // Fields    

     private String tableMappingId;
     private String groupMappingId;
     private String tableMappingName;
     private String sourceTableId;
     private String targetTableId;
     private String tableConvertMode;
     private String tableConvertClass;
     private String isDividePage;
     private Integer pageRows;
     private Date lastExchangeDate;
     private Integer insertRows;
     private Integer updateRows;
     private Integer deleteRows;
     private Integer errorRows;
     private Integer runOrder;
     private String memo;
     private String tableMappingType;


    // Constructors

    /** default constructor */
    public MappingTable() {
    }

   
    // Property accessors
    @Id 
    
    @Column(name="TABLE_MAPPING_ID", unique=true, nullable=false, length=32)

    public String getTableMappingId() {
        return this.tableMappingId;
    }
    
    public void setTableMappingId(String tableMappingId) {
        this.tableMappingId = tableMappingId;
    }
    
    @Column(name="GROUP_MAPPING_ID", nullable=false, length=32)

    public String getGroupMappingId() {
        return this.groupMappingId;
    }
    
    public void setGroupMappingId(String groupMappingId) {
        this.groupMappingId = groupMappingId;
    }
    
    @Column(name="TABLE_MAPPING_NAME", length=128)

    public String getTableMappingName() {
        return this.tableMappingName;
    }
    
    public void setTableMappingName(String tableMappingName) {
        this.tableMappingName = tableMappingName;
    }
    
    @Column(name="SOURCE_TABLE_ID", nullable=false, length=32)

    public String getSourceTableId() {
        return this.sourceTableId;
    }
    
    public void setSourceTableId(String sourceTableId) {
        this.sourceTableId = sourceTableId;
    }
    
    @Column(name="TARGET_TABLE_ID", nullable=false, length=32)

    public String getTargetTableId() {
        return this.targetTableId;
    }
    
    public void setTargetTableId(String targetTableId) {
        this.targetTableId = targetTableId;
    }
    
    @Column(name="TABLE_CONVERT_MODE", nullable=false, length=1)

    public String getTableConvertMode() {
        return this.tableConvertMode;
    }
    
    public void setTableConvertMode(String tableConvertMode) {
        this.tableConvertMode = tableConvertMode;
    }
    
    @Column(name="TABLE_CONVERT_CLASS", length=128)

    public String getTableConvertClass() {
        return this.tableConvertClass;
    }
    
    public void setTableConvertClass(String tableConvertClass) {
        this.tableConvertClass = tableConvertClass;
    }
    
    @Column(name="IS_DIVIDE_PAGE", length=1)

    public String getIsDividePage() {
        return this.isDividePage;
    }
    
    public void setIsDividePage(String isDividePage) {
        this.isDividePage = isDividePage;
    }
    
    @Column(name="PAGE_ROWS", scale=0)
    public Integer getPageRows() {
		return pageRows;
	}
    
    public void setPageRows(Integer pageRows) {
		this.pageRows = pageRows;
	}
    
    @Column(name="LAST_EXCHANGE_DATE")

    public Date getLastExchangeDate() {
        return this.lastExchangeDate;
    }
    
    public void setLastExchangeDate(Date lastExchangeDate) {
        this.lastExchangeDate = lastExchangeDate;
    }
    
    @Column(name="INSERT_ROWS", precision=11, scale=0)
    public Integer getInsertRows() {
		return insertRows;
	}
    
    public void setInsertRows(Integer insertRows) {
		this.insertRows = insertRows;
	}
    
    @Column(name="UPDATE_ROWS", precision=11, scale=0)
    public Integer getUpdateRows() {
		return updateRows;
	}
    
    public void setUpdateRows(Integer updateRows) {
		this.updateRows = updateRows;
	}
    
    @Column(name="DELETE_ROWS",scale=0)
    public Integer getDeleteRows() {
		return deleteRows;
	}
    public void setDeleteRows(Integer deleteRows) {
    	this.deleteRows = deleteRows;
    }
    
    
    @Column(name="ERROR_ROWS",scale=0)
    public Integer getErrorRows() {
		return errorRows;
	}
    
    public void setErrorRows(Integer errorRows) {
		this.errorRows = errorRows;
	}
    
    @Column(name="RUN_ORDER", scale=0)
    public Integer getRunOrder() {
		return runOrder;
	}
    
    public void setRunOrder(Integer runOrder) {
		this.runOrder = runOrder;
	}
    
    @Column(name="MEMO", length=400)

    public String getMemo() {
        return this.memo;
    }
    
    public void setMemo(String memo) {
        this.memo = memo;
    }
    
    @Column(name="TABLE_MAPPING_TYPE", length=128)

    public String getTableMappingType() {
        return this.tableMappingType;
    }
    
    public void setTableMappingType(String tableMappingType) {
        this.tableMappingType = tableMappingType;
    }
   








}